package strategy.person;

import strategy.abstract_strategy.TravelStrategy;

public class Person {
    private TravelStrategy travelStrategy;

    public void setTravelStrategy(TravelStrategy travelStrategy) {
        this.travelStrategy = travelStrategy;
    }
    public void travel(){
        travelStrategy.travel();
    }
}
